﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CoreShop.Model.FromBody
{
    /// <summary>
    /// 基本资料修改记录，写redis,与后台相同
    /// </summary>
    public class PosExchangeModel
    {
        /// <summary>
        /// 门店ID
        /// </summary>
        public long storeId { get; set; } = 0;

        /// <summary>
        /// 商品资料(包括规格，价格)
        /// </summary>
        public long food { get; set; } = 0;
        /// <summary>
        /// 商品备注
        /// </summary>
        public long foodTag { get; set; } = 0;
        /// <summary>
        /// 商品分类
        /// </summary>
        public long foodType { get; set; } = 0;
        /// <summary>
        /// 桌台资料
        /// </summary>
        public long desk { get; set; } = 0;
        /// <summary>
        /// 桌台分类
        /// </summary>
        public long deskType { get; set; } = 0;
        /// <summary>
        /// 加料资料
        /// </summary>
        public long feed { get; set; } = 0;
        /// <summary>
        /// 加料分类
        /// </summary>
        public long feedType { get; set; } = 0;
        /// <summary>
        /// 做法资料
        /// </summary>
        public long task { get; set; } = 0;
        /// <summary>
        /// 做法分类
        /// </summary>
        public long taskType { get; set; } = 0;
        /// <summary>
        /// 会员资料
        /// </summary>
        public long user { get; set; } = 0;
        /// <summary>
        /// 会员分类
        /// </summary>
        public long userType { get; set; } = 0;
        /// <summary>
        /// 会员等级
        /// </summary>
        public long userGrade { get; set; } = 0;
        /// <summary>
        /// 充值规则
        /// </summary>
        public long deptRules { get; set; } = 0;
        /// <summary>
        /// 订单
        /// </summary>
        public long order { get; set; } = 0;

        /// <summary>
        /// 角色
        /// </summary>
        public long role { get; set; } = 0;

        /// <summary>
        /// 服务费
        /// </summary>
        public long fee { get; set; } = 0;

        /// <summary>
        /// 服务费
        /// </summary>
        public long screen { get; set; } = 0;

        /// <summary>
        /// 特价商品折扣设置
        /// </summary>
        public long discountRules { get; set; }

        /// <summary>
        /// 部门
        /// </summary>
        public long department { get; set; }


        /// <summary>
        /// 会员设置
        /// </summary>
        public long userIntegralRules { get; set; }

        /// <summary>
        /// 系统用户
        /// </summary>
        public long sysUser { get; set; }

        /// <summary>
        /// 商品分组
        /// </summary>
        public long foodGroup { get; set; }

        /// <summary>
        /// 组织机构
        /// </summary>
        public long organization { get; set; }
    }

    public class SyncFoodPosDto
    {
        public List<corecmsfood> foodList { get; set; }

        public List<corecmsfoodcategory> foodCategoryList { get; set; }

        public List<corecmsfoodspec> foodSpecList { get; set; }

    }
}
